html,body{
    width:100%;
    position: relative;
}
#main-w {
    background: url("../images/login/reg_bg.gif") no-repeat ;
    background-size: auto;
    height: 600px;
    width: 100%;
}
#main-w .main {
    width:1200px;
    height:600px;
    position: relative;
    margin: 0 auto;
}
.main-login{
    width:316px;
    background: #fff;
    position: absolute;
    right:0px;
    top:50px;
    padding:31px 35px;
}
.main-top{
    margin-bottom: 20px;
}
.main-login .main-top li{
    float: left;
    width: 155px;
    height:40px;
    line-height: 40px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}
.main-login ul li a{
    color:#999;
}
.online{
    border-bottom: 2px solid #ed4242;
}

#for-phone{
    display: none;
}
#email-login ul li,#for-phone ul li {
    width:310px;
    margin-bottom: 20px;
    position: relative;
}
.clear .infor{
    width:283px;
    height:40px;
    padding-left:25px;
    border: 1px solid #e5e5e5;
    outline: none;
    border-radius: 4px;
}

.email-login-c span,.phone-login-c,span{
    font-size: 14px;
    color: #999;
}
.email-login-c a,.phone-login-c a{
    font-size: 14px;
    color:#000;
}
button{
    width:310px;
    height:40px;
    background: #ed4242;
    border-radius: 5px;
    outline: none;
    border:none;
    cursor: pointer;
    color:#fff;
    margin: 22px 0 30px 0;
    transition: all 0.3s linear;
}
.email-login-c .blue,.phone-login-c .blue {
    color:#3388ff;
}
button:hover{
    background:#C80606;
}
/*js生成元素的样式*/
.tempY{
    position: absolute;
    color:#3388ff;
    width:130px;
    height:25px;
    right:9px;
    top:11px;
    border:none;
    outline: none;
    cursor: pointer;
}
.red{
    font-size: 12px;
    color:red;
}
#for-email img,#for-phone img{
    position: absolute;
    right:-22px;
    top:13px;
    display: none;
}
/*用户协议*/
#agreement-w {
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.4);
    position: absolute;
    top:0;
    z-index: 10000;
    display: none;
}
.agreementTop{
    height: 42px;
    border-bottom: 1px dotted #ccc;
    width:800px;
    padding:15px 19px;
    box-sizing: border-box;
}
.agreement{
    width:808px;
    height:434px;
    position: fixed;
    left: 50%;
    top:50%;
    margin-left:-404px;
    margin-top:-217px;
    background: #f1f1f1;
    border:4px solid #ccc;
    border-radius: 1%;
}
.agreementTop h3{
    float:left;
}
.agreementTop span{
    display: block;
    float:right;
    cursor: pointer;
}
.agreementMain{
    background:#f9f9f9;
    width:800px;
    height:320px;
    overflow-y: scroll;
    padding:26px;
    box-sizing: border-box;
}
.agreementMain .px{
    font-size: 12px;
    line-height: 24px;
}
.agreementFooter{
    background:#fff;
    width:800px;
    height:70px;
}
.agreementFooter button{
    margin-left: 248px;
    margin-top: 17px;
}

